<div class="panel panel-primary">
	<!-- Default panel contents -->
	<div class="panel-heading">New Topic</div>
	<div class="panel-body">

		<form method="POST" role="form" action="community.php" id="new-topic-form" name="newtopic">

			<div>
				<div class="form-group">
					<label for="txtNewTopicName">Topic Name</label>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">
							<i class="glyphicon glyphicon-list-alt"></i>
						</span>	
						<input type="text" name="txtNewTopicName" class="span4 form-control input-sm" id="txtNewTopicName" placeholder="Name" maxlength="45" value="<?php if(isset($newTopicName) && !empty($newTopicName)){echo $newTopicName;} ?>"/>
					</div>
				</div>
			</div>
			
			<div>
				<div class="form-group">
					<label for="txtNewTopicDescription">Topic Description</label>
					<div class="input-group input-group-sm">
						<span class="input-group-addon">
							<i class="glyphicon"></i>
						</span>	
						<textarea rows="10" cols="75" class="form-control input-sm span6" name="txtNewTopicDescription" id="txtNewTopicDescription" size="300" placeholder="Describe this new topic"><?php if(isset($newTopicDescription) && !empty($newTopicDescription)){echo $newTopicDescription;} ?></textarea>
					</div>
				</div>
			</div>
			
			<div class="form-group">
				<div>
					<input type="submit" class="btn btn-primary" name="btnCreateTopic" value="Create Topic">
				</div>
			</div>
			
			<div>
				<?php
					//form status message
				?>
			</div>
		</form>
	</div>
</div>